<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<link  href="css/common.css" rel="stylesheet">
<link href="css/index.css" rel="stylesheet">
</head>

<body>
<div class="bg">
	<!--<div style="display:table">-->
	<div class="box">
    <div style="width:930px; margin:0 auto; height:300px;">
        <div class="left">
            <div class="left-le"><img src="images/tou.png" width="90%"></div>
            <div class="left-ri">
            	<h6>现在，欢迎您访问</h6>
                <h2>新能源车辆综合管理平台</h2>
                <p id="timetable"></p>  
            </div>
        </div>
        <div class="right">
        	<img src="images/logo1.png" width="120">
            <input type="text" placeholder="用户名" class="yonghu">
            <input type="password" placeholder="密码" class="mima">
          <div class="danxuan">
            <p>
               <span><input type="checkbox" name="CheckboxGroup1" class="ra"></span><label>记住密码</label>
            </p>
            <a href="#">忘记密码？</a>
            </div>
            <a href="index.html" class="deng">登录</a>
        </div>
    </div>
</div>
</div>
<script language="javascript">//获取系统时间
  function get_time()
  {
    var date=new Date();
    var year="",month="",day="",week="",hour="",minute="",second="";
    year=date.getFullYear();
    month=add_zero(date.getMonth()+1);
    day=add_zero(date.getDate());
    week=date.getDay();
    switch (date.getDay()) {
    case 0:val="周日";break
    case 1:val="周一";break
    case 2:val="周二";break
    case 3:val="周三";break
    case 4:val="周四";break
    case 5:val="周五";break
    case 6:val="周六";break
      }
    hour=add_zero(date.getHours());
    minute=add_zero(date.getMinutes());
    second=add_zero(date.getSeconds());
    document.getElementById("timetable").innerHTML=" "+year+"-"+month+"-"+day+" "+hour+":"+minute+":"+second+" "+val;
  }

  function add_zero(temp)
  {
    if(temp<10) return "0"+temp;
    else return temp;
  }
setInterval("get_time()",1000);
</script>
</body>
</html>
